<template>
  <div>
    <el-button v-on:keyup.enter="13" @click="showDialog">显示弹框</el-button>
    <Dialog v-model="show"></Dialog>
  </div>
</template>

<script>
import Dialog from '@/views/salarys/components/dialog'

export default {
  components: {
    Dialog,
  },
  data () {
    return {
      show: false
    }
  },
  methods: {
    showDialog () {
      this.show = true
    }
  }
}
</script>

<style></style>
